projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886a1f2
)
Use `float-time' in tramp-sh.el where needed
author
Michael Albinus
<michael.albinus@gmx.de>
Mon, 1 Oct 2018 12:34:35 +0000
(14:34 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Mon, 1 Oct 2018 12:34:35 +0000
(14:34 +0200)
* lisp/net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
Use `float-time'.
lisp/net/tramp-sh.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-sh.el
b/lisp/net/tramp-sh.el
index b2be43395f84748e3729b12805d46e2282c1d28c..956fe2ddb733336eb2618dd43acbd5e5c5f8b27f 100644
(file)
--- a/
lisp/net/tramp-sh.el
+++ b/
lisp/net/tramp-sh.el
@@
-1449,7
+1449,7
@@
of."
;; recorded last modification time, or there is no established
;; connection.
(if (or (not f)
- (zerop (
visited-file-modtime
))
+ (zerop (
float-time (visited-file-modtime)
))
(not (file-remote-p f nil 'connected)))
t
(with-parsed-tramp-file-name f nil